/*
Write an expression that checks for given integer if its third digit (right-to-left) is 7. E. g. 1732 ? true.
*/
using System;

class zadacha4etv1rta
{
    static void Main()
    {
        Console.Write("Enter an integer: ");
        int checkedNumber = int.Parse(Console.ReadLine());
		
		if(((checkedNumber%1000)/100) == 7)
		{
			Console.WriteLine("The third digit is 7");
		}
		else Console.WriteLine("The third digit is NOT 7");
    }
}